
<%@ page import="com.plan.QuantitiesInfo" %>
<!doctype html>
<html>
	<head>
		<meta name="layout" content="main">
		<g:set var="entityName" value="${message(code: 'quantitiesInfo.label', default: 'QuantitiesInfo')}" />
		<title><g:message code="default.list.label" args="[entityName]" /></title>
	</head>
	<body>
		<a href="#list-quantitiesInfo" class="skip" tabindex="-1"><g:message code="default.link.skip.label" default="Skip to content&hellip;"/></a>
		<h1><g:message code="default.list.label" args="[entityName]" /></h1>
		<div class="nav" role="navigation">
			<ul>
				<li><g:link class="create" action="create"><g:message code="default.new.label" args="[entityName]" /></g:link></li>
			</ul>
		</div>

		<div id="list-quantitiesInfo" class="content scaffold-list" role="main">
			<g:if test="${flash.message}">
			<div class="message" role="status">${flash.message}</div>
			</g:if>
			<table>
				<thead>
					<tr>
					
						<g:sortableColumn property="sn" title="${message(code: 'quantitiesInfo.sn.label', default: 'Sn')}" />
					
						<g:sortableColumn property="name" title="${message(code: 'quantitiesInfo.name.label', default: 'Name')}" />
					
						<g:sortableColumn property="creater" title="${message(code: 'quantitiesInfo.creater.label', default: 'Creater')}" />
					
						<g:sortableColumn property="remark" title="${message(code: 'quantitiesInfo.remark.label', default: 'Remark')}" />
					
						<g:sortableColumn property="lastUpdated" title="${message(code: 'quantitiesInfo.lastUpdated.label', default: 'Last Updated')}" />
					
						<th><g:message code="operate.label" default="operate" /></th>
					</tr>
				</thead>
				<tbody>
				<g:each in="${quantitiesInfoInstanceList}" status="i" var="quantitiesInfoInstance">
					<tr class="${(i % 2) == 0 ? 'even' : 'odd'}">
					
						<td><g:link action="show" id="${quantitiesInfoInstance.id}">${fieldValue(bean: quantitiesInfoInstance, field: "sn")}</g:link></td>
					
						<td>${fieldValue(bean: quantitiesInfoInstance, field: "name")}</td>
					
						<td>${fieldValue(bean: quantitiesInfoInstance, field: "creater")}</td>
					
						<td>${fieldValue(bean: quantitiesInfoInstance, field: "remark")}</td>
					
						<td><g:formatDate date="${quantitiesInfoInstance.lastUpdated}" format="yyyy-MM-dd" /></td>
					
						<td><g:link class="edit" action="edit" id="${quantitiesInfoInstance?.id}"><g:message code="default.button.edit.label" default="Edit" /></g:link>
							<g:link class="edit" action="delete" id="${quantitiesInfoInstance?.id}" onclick="return confirm('${message(code: 'default.button.delete.confirm.message', default: 'Are you sure?')}');">
							<g:message code="default.button.delete.label" default="Delete" /></g:link>
							
						</td>
					</tr>
				</g:each>
				</tbody>
			</table>
			<g:if test="${quantitiesInfoInstanceTotal > 10}">
				<div class="pagination">
					<g:paginate total="${quantitiesInfoInstanceTotal}" />
				</div>
			</g:if>
		</div>
	</body>
</html>
